/// <license>
/// Copyright (c) 2002-2008, DotNetNuke Corporation
/// All rights reserved
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
/// documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
/// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and 
/// to permit persons to whom the Software is furnished to do so, subject to the following conditions:
///
/// The above copyright notice and this permission notice shall be included in all copies or substantial portions 
/// of the Software.
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
/// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
/// CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
/// DEALINGS IN THE SOFTWARE.
/// </license>

#region Using Statements

using System;
using System.Collections.Generic;
using System.Text;
using DotNetNuke.Services.Packages; 

#endregion

namespace DotNetNuke.ModuleToolkit.Common
{
    /// -----------------------------------------------------------------------------
    /// <summary>
    /// The Constants Class provides constants for the Project
    /// </summary>
    /// <history>
    /// 	[cnurse]	01/18/2006	created
    /// </history>
    /// -----------------------------------------------------------------------------
    public class Constants
    {
        public const string ACTION_Add = "Add.Action";
        public const string ACTION_InstallSkin = "InstallSkin.Action";
        public const string ACTION_InstallExtension = "InstallExtension.Action";

        public const string ACTIONIMAGE_Add = "add.gif";
        public const string ACTIONIMAGE_Delete = "delete.gif";
        public const string ACTIONIMAGE_Edit = "edit.gif";
        public const string ACTIONIMAGE_Extensions = "icon_sitesettings_16px.gif";
        public const string ACTIONIMAGE_Skins = "icon_skins_16px.gif";

        public const string CMD_ChangeSkin = "ChangeSkin";
        public const string CMD_Cancel = "Cancel";
        public const string CMD_Delete = "Delete";
        public const string CMD_Edit = "Edit";
        public const string CMD_Next = "Next";
        public const string CMD_Previous = "Previous";
        public const string CMD_Publish = "Publish";
        public const string CMD_Reject = "Reject";
        public const string CMD_Restore = "Restore";
        public const string CMD_Save = "Save";
        public const string CMD_Submit = "Submit";
        public const string CMD_View = "View";


        public const string EXT_ASCX = ".ascx";
        public const string EXT_RESX = ".resx";

        public const string FOLDER_SkinObjects = "SkinObjects";
        public const string FOLDER_Templates = "Templates";

        public const string FORMAT_ContextKey = "TabModule:{0}_SkinShared";

        public const string ID_SkinnedControlHost = "SkinnedControlHost";

        public const string IMAGE_Add = "~/images/add.gif";
        public const string IMAGE_Cancel = "~/images/lt.gif";
        public const string IMAGE_Delete = "~/images/delete.gif";
        public const string IMAGE_Edit = "~/images/edit.gif";
        public const string IMAGE_NotFound = "~/images/thumbnail.jpg";
        public const string IMAGE_Publish = "~/images/register.gif";
        public const string IMAGE_Reject = "~/images/icon_exceptionviewer_16px.gif";
        public const string IMAGE_Restore = "~/images/reset.gif";
        public const string IMAGE_Return = "~/images/lt.gif";
        public const string IMAGE_Save = "~/images/save.gif";
        public const string IMAGE_Submit = "~/images/icon_hostusers_16px.gif";
        public const string IMAGE_View = "~/images/view.gif";

        public const string JS_Confirm = @"javascript:return confirm('{0}');";

        internal const string KEY_Comment = "Comment";

        public const string PARAM_CurrentPage = "CurrentPage";
        public const string PARAM_Mode = "Mode";
        public const string PARAM_Scope = "Scope";

        public const string TEXT_CommandButton = "Command";
        public const string TEXT_Delete = "Delete";
        public const string TEXT_Edit = "Edit";
        public const string TEXT_Help = "Help Text";
        public const string TEXT_Extension = "Extensions";
        public const string TEXT_Return = "Return";
        public const string TEXT_Skins = "Skins";

        /// <summary>
        /// The name of the folder that contains skins.
        /// </summary>
        public const string FOLDER_Skins = "Skins";

        /// <summary>
        /// The name of the module setting that stores the current skin
        /// </summary>
        public const string SETTING_ModuleSkin = "Toolkit_ModuleSkin";

        /// <summary>
        /// The name of a module's shared resource file
        /// </summary>
        public const string SETTING_ModuleResourceFile = "SharedResources.resx";

        /// <summary>
        /// The name of the default module skin
        /// </summary>
        public const string SKIN_Default = "_default";

        /// <summary>
        /// The display name of the default module skin
        /// </summary>
        public const string TEXT_Default = "Default";

        public static string INSTALLER_ModuleNameMissing = Util.GetLocalizedString("INSTALLER_ModuleNameMissing");
        public static string INSTALLER_NameMissing = Util.GetLocalizedString("INSTALLER_NameMissing");
        public static string INSTALLER_ReadSuccess = Util.GetLocalizedString("INSTALLER_ReadSuccess");
        public static string INSTALLER_Registered = Util.GetLocalizedString("INSTALLER_Registered");
        public static string INSTALLER_UnRegistered = Util.GetLocalizedString("INSTALLER_UnRegistered");

    }
}
